package mrh.niubi.librarysystem.service;

import mrh.niubi.librarysystem.pojo.Book;

import java.util.List;

public interface BookService {

    List<Book> selectBooksByQueryinf(String queryinf);

    int delBookById(String id);

    int addBook(Book book);

    int editBook(Book book);

    Book selectBookById(int id);

    int subNum(Integer id,Long num);

    int addNum(Integer id,Long num);

}
